<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
	<title>ios下tab无效测试</title>
	<script src="./lib/jquery-1.11.3.min.js"></script>
	<style>
		.asd {background-color: green;line-height: 20px;margin: 5px auto;}
		#bgcolor{width: 360px;height: 200px;background-color: #110306}
	</style>
</head>
<body>
	<div id="qwe"></div>

	<div class="test">xiazai</div>

	<div id="bgcolor"></div>



	<script>
		$(function() {
			var str='';
			var arr = [	{asd:1},{asd:2},{asd:3},{asd:4},{asd:5},{asd:6},{asd:7},{asd:8}];
			setTimeout(function(){
				$.each(arr, function(index, val) {
					 str+='<div class="asd">'+val.asd+'</div>'
				});
				$('#qwe').html(str);
			},1200)
			$('#qwe').on('click','.asd',function() {

				$(this).css('background','purple');
			})
			$('.test').on('click',function() {
				window.location.href='http://www.xywykj.com/'
			})
		})
	</script>
</body>
</html>